import { SelectTable } from '@ey-component/components';
import { Input } from 'antd';

/**
 * 内部订单业务组件
 * @param props
 * @constructor
 */
export const InnerOrder = (props: any) => {
    const { disabled, showName } = props;
    if (disabled && showName) {
        return <div className="ant-input ant-input-disabled">{showName}</div>
        // return <Input disabled value={displayName} />
        // return <span>{displayName}</span>;
    }
    return <SelectTable {...props} />;
};

export default InnerOrder;
